@echo off
set /p value=<./version.txt
echo !define PRODUCT_VERSION "%value%" > ver.nsh
xcopy version.txt bin\Release\  /Y
xcopy /s /e /i /h /y bin\Release bin\Release_"%value%"
del bin\Release\*.pdb /q
del bin\Release\*.lib /q
del bin\Release\*.exp /q

makensis ins.nsi
pause